﻿using System.Web.Mvc;
using DTD.Repositories;
using DTD.Repositories.Interfaces;

namespace DTD.Web.Controllers
{
    public class DialogController : Controller
    {
        ICategoryRepository repository = new CategoryRepository();

        public ActionResult AddTask()
        {
            return PartialView();
        }

        public ActionResult EditTask()
        {
            return PartialView(repository.GetRootCategories());
        }
    }
}
